
from django.conf.urls.defaults import patterns

urlpatterns = patterns('comunidadcyt',
    (r'^$',                                         'gruposDeInvestigacion.views.inicio'),
    (r'^ver/(?P<object_id>\d+)/$',                  'gruposDeInvestigacion.views.ver'),
    (r'^crear/$',                                   'gruposDeInvestigacion.views.crear'),
    (r'^editar/(?P<object_id>\d+)$',                'gruposDeInvestigacion.views.editar'),
    (r'^borrar/(?P<object_id>\d+)$',                'gruposDeInvestigacion.views.borrar'),
    (r'^solicitarIngreso/$',                        'gruposDeInvestigacion.views.solicitar_ingreso'),
    (r'^verSolicitudesIngreso/$',                   'gruposDeInvestigacion.views.ver_solicitudes'),
    (r'^aprobarSolicitud/(?P<object_id>\d+)/$',     'gruposDeInvestigacion.views.aprobar_solicitud'),
    (r'^listarlineas/(?P<object_id>\d+)/$',         'gruposDeInvestigacion.views.listarlineas'),
    (r'^listarpublicaciones/(?P<object_id>\d+)/$',  'gruposDeInvestigacion.views.listarpublicaciones'),
    (r'^listarproyectos/(?P<object_id>\d+)/$',      'gruposDeInvestigacion.views.listarproyectos'),
    (r'^listareventos/(?P<object_id>\d+)/$',        'gruposDeInvestigacion.views.listareventos'),
    (r'^listarmiembros/(?P<object_id>\d+)/$',       'gruposDeInvestigacion.views.listarmiembros'),
    (r'^listarpartners/(?P<object_id>\d+)/$',       'gruposDeInvestigacion.views.listarpartners'),
    (r'^editarHistorial/(?P<object_id>\d+)/$',      'gruposDeInvestigacion.views.editarHistorial'),
    (r'^borrarHistorial/(?P<object_id>\d+)/$',      'gruposDeInvestigacion.views.borrarHistorial'),
    (r'^historial/(?P<object_id>\d+)/$',            'gruposDeInvestigacion.views.historial'),
    (r'^misGrupos/$',                               'gruposDeInvestigacion.views.misGrupos'),
    (r'^listar/ajax/(?P<key_xhr>\w+)/$',            'gruposDeInvestigacion.views.xhr_list_groups_view'),
    (r'^cvg/(?P<object_id>\d+)/$',                  'gruposDeInvestigacion.views.generarCV'),
)